// ml:run = $bin < input
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <algorithm>
#include <utility>
#include <map>
#include <set>

int main()
{
    int n;
    std::cin >> n;
    std::string s;
    for (int i = 0; i < n - 1; i++) {
        if (!(i & 1)) s += "I hate that ";
        else s += "I love that ";
    }
    if (n & 1) s += "I hate it";
    else s += "I love it";
    std::cout << s << "\n";
}

